﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace BankingSystem.DAL
{
    public partial class Client{ }
    public partial class ClientInfo { }

    public interface IDTORepository<T> where T: Client, ClientInfo
    {
        
        int ID { get; set; }
        
        int Create(T entry);
        
        IEnumerable<T> Read();
       
        bool Update(int id, T entry);

        bool Delete(int id);
    }
}
